package com.authManager.commons.feignApi.hystric;


import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.stereotype.Component;

import com.authManager.commons.feignApi.SysRoleApi;
import com.authManager.entity.SysRole;

import com.commons.base.model.AdminPage;
import com.commons.base.model.ResultCode;
import com.commons.base.model.ResultData;

@Component
public class SysRoleApiHystric implements SysRoleApi{
			
	@Override
	public ResultData<Object> saveSysRole(
			    	String name
			    	,Integer seq
			    	,String description
			    	,String roleCode
	){
		return new ResultData.Builder<Object>(ResultCode.reqeust_TimeOut).build();
	};
	@Override
	public ResultData<Object> editSysRole(
			@RequestParam(required=true)Long sysRoleId
			    	,String name
			    	,Integer seq
			    	,String description
			    	,String roleCode
	){
		return new ResultData.Builder<Object>(ResultCode.reqeust_TimeOut).build();
	};
	
	@Override
	public ResultData<Object> delSysRole(Long sysRoleId){
		return new ResultData.Builder<Object>(ResultCode.reqeust_TimeOut).build();
	};
	
	@Override
	public ResultData<SysRole> getSysRole(Long sysRoleId){
		return new ResultData.Builder<SysRole>(ResultCode.reqeust_TimeOut).build();
	};
	
	@Override
	public ResultData<AdminPage<SysRole>> listSysRole(
		Integer pageNum,
		Integer pageSize,
				    	Long sysRoleId
				    	,String name
				    	,Integer seq
				    	,String description
				    	,String roleCode
		        ,String start_createTime
				    ,String end_createTime
	){
		return new ResultData.Builder<AdminPage<SysRole>>(ResultCode.reqeust_TimeOut).build();
	};
}
